home *** CD-ROM | disk | FTP | other *** search
/ Resource for Source: C/C++ / Resource for Source - C-C++.iso / codelib3 / v_03_03 / fader.exe / FADER / FADER.H < prev    next >
Encoding:
C/C++ Source or Header  |  1991-11-18  |  840 b   |  26 lines

  1. /*
  2.      File name:    FADER.C
  3.      Description:  Main program for the fader custom control
  4.      Sequence:     This is Listing #3
  5. */
  6.  
  7. /* Color number for WM_CTLCOLOR message */
  8. #define CTLCOLOR_FADER      100
  9.  
  10. /* Fader Button's class-specific window messages. */
  11. #define FDRM_SETRANGE      (WM_USER + 0)
  12. #define FDRM_GETRANGE      (WM_USER + 1)
  13. #define FDRM_SETLOGVALUE   (WM_USER + 2)
  14. #define FDRM_SETPHYSVALUE  (WM_USER + 3)
  15. #define FDRM_GETLOGVALUE   (WM_USER + 4)
  16. #define FDRM_GETPHYSVALUE  (WM_USER + 5)
  17.  
  18. /* Fader Button's notification codes sent in HIWORD of lParam
  19.    during a WM_COMMAND message. */
  20. #define FDRN_THUMBTRACK    1
  21. #define FDRN_ENDFADER      2
  22.  
  23. /* Enables return of FDRN_THUMBTRACK messages to parent.
  24.    Should run faster if it doesn't have to send these */
  25. #define FDRS_TRACK         0x0001L
  26.